home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Graphics Plus
/
Graphics Plus.iso
/
general
/
modelers
/
geomview
/
source.lha
/
Geomview
/
config
< prev
next >
Wrap
Text File
|
1993-11-02
|
1KB
|
40 lines
#
# GeomView/OOGL configuration file.
#
# You should 'source' this file before compiling GeomView/OOGL. Do
# this only while you are at the root of the source tree (the current
# directory should be the one containing this file)!
# The purpose of this script is to set the environment variable CPU.
# (It should be "iris4" on an SGI, and "NeXT" on a NeXT.) You should
# source this file in every shell in which you plan to do compilation
# in the Geomview/OOGL source tree.
# This file assumes you're using csh (or some equivalent shell) !!!
# It is not necessary to source this file in order to run geomview
# or any of the programs in this directory. It is only needed
# for compilation.
########################################################################
if ( { test -d data } ) then
set geomroot = $cwd
if ( { test -f /mach } ) then
setenv CPU NeXT
echo ''
echo 'This shell configured for compiling on a NeXT.'
echo ''
else
setenv CPU iris4
echo ''
echo 'This shell configured for compiling on an SGI IRIS.'
echo ''
endif
else
echo 'You do not appear to be in the Geomview root directory;'
echo 'cd to the Geomview root directory (the one containing,'
echo 'among other things, subdirectories "bin" and "data")'
echo 'and try again.'
endif